package com.onlyphoto.onlymall.mvp.contract

import com.onlyphoto.onlymall.base.IBasePresenter
import com.onlyphoto.onlymall.base.IBaseView
import com.onlyphoto.onlymall.bean.request.RefundBean
import com.onlyphoto.onlymall.bean.response.RefundInfoBean
import com.onlyphoto.onlymall.bean.response.RefundReasonBean


interface CRefund {

    interface IPRefund : IBasePresenter {
        fun refund(bean: RefundBean)
        fun getRefundReason()
        fun getRefundInfo(getType: Int, orderId: String)
    }

    interface IVRefund : IBaseView {
        fun refundSuccess()
        fun getRefundReasonSuccess(list: ArrayList<RefundReasonBean>)
        fun showMsg(msg: String?)
        fun getRefundInfoSuccess(bean: RefundInfoBean)
    }
}